package com.sinping.qh.domain.common;

import com.sinping.qh.domain.base.BaseDomain;
import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

/**
 * @author jiahuaiqing
 * @create 2018/5/28
 */
@Document(collection = "tb_building")
@Data
public class BuildingDomain extends BaseDomain {

    /**
     * 楼宇名称
     */
    @Field("building_name")
    private String buildingName;

    /**
     * 状态
     */
    @Field("status")
    private String status;

    /**
     * 修改人id
     */
    @Field("update_user_id")
    private String updateUserId;

    /**
     * 创建人id
     */
    @Field("create_user_id")
    private String createUserId;
}
